Skip to content

[Studio] feat: Operation and Maintenance Dashboard Metrics Subsystem - #657

Closed
zhaohai666 wants to merge 3 commits into
apache:rocketmq-studiofrom
zhaohai666:pr-03-model-trace
Closed

[Studio] feat: Operation and Maintenance Dashboard Metrics Subsystem#657
zhaohai666 wants to merge 3 commits into
apache:rocketmq-studiofrom
zhaohai666:pr-03-model-trace

Conversation

@zhaohai666

Copy link
Copy Markdown

Summary

  • Add ops-level dashboard metrics subsystem for monitoring broker, topic, consumer group, and system resources
  • Introduce MetricsProvider SPI interface with MetricsProviderStub for sample data
  • Add REST controller at /api/metrics with overview, broker, topic, and consumer group endpoints
  • Add 5 VO classes: BrokerMetricsVO, TopicMetricsVO, ConsumerGroupMetricsVO, MetricsOverviewVO, SystemResourceMetricsVO
  • Include test coverage for controller and service layers

Test plan

  • Verify MetricsController returns correct overview data
  • Verify broker/topic/consumer group metrics endpoints return expected VO structures
  • Verify MetricsProviderStub returns valid sample data
  • Run MetricsControllerTest and MetricsServiceTest

Add trace visualization models including producer/subscription nodes,
trace status enum, and the full trace graph structure for the message
trace detail page.
@zhaohai666 zhaohai666 changed the title Operation and Maintenance Dashboard Metrics Subsystem [Studio] feat: Operation and Maintenance Dashboard Metrics Subsystem Jul 29, 2026
@lizhimins

Copy link
Copy Markdown
Member

Closing: the content of this PR (message trace graph model DTOs: MessageTraceGraph, MessageTraceStatusEnum, ProducerNode, SubscriptionNode, TraceNode) is already fully merged into rocketmq-studio via #527 — all 5 files are byte-identical to the current trunk. Thanks for the contribution!

@lizhimins lizhimins closed this Jul 31, 2026
@zhaohai666
zhaohai666 deleted the pr-03-model-trace branch August 13, 2026 05:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants